package com.bitmm.itsalon.spring.annotation.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/a")
    public String testArithmeticException() {
        return "aaa";
    }

    @RequestMapping("/b")
    public String testNullPointerException() {
        return "bbb";
    }
}
